package test.test.one.objects;

import android.graphics.Bitmap;

/**
 * ob_pickable is a class that extends AbstractObject
 * this class will be used to instance all world objects which feature collecting as a way of interaction
 * 
 * @author Gustavo
 *
 */
public class ob_pickable extends AbstractObject {
	
	private boolean isPicked;
	
	/**
	 * Basic ob_pickable constructor method
	 * 
	 * @param bitmap
	 * @param x
	 * @param y
	 */
	public ob_pickable(Bitmap bitmap, int x, int y){
		super(bitmap,x,y);
		this.isPicked=false;
	}
	
	public ob_pickable(Bitmap bitmap, int x, int y, ob_pickable ob1, ob_pickable ob2){
		super(bitmap, x, y);
		this.isPicked=true;
	}	
	
	/*
	 * get & set methods
	 */
	public void setIsPicked(boolean isPicked){
		this.isPicked=isPicked;
	}
	public boolean getIsPicked(){
		return this.isPicked;
	}
}
